package cn.code.mycloud.module.system.controller.admin.aqi.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class AqiCalculateVO {
    @Schema(description = "细颗粒物（PM2.5）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "细颗粒物（PM2.5）不能为空")
    private String pm25;

    @Schema(description = "二氧化硫（SO2）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "二氧化硫（SO2）不能为空")
    private String so2;

    @Schema(description = "一氧化碳（CO）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "一氧化碳（CO）不能为空")
    private String co;
}
